<?php
$title = "Add a New Page";
$url = "new-page";
$metadescription = "Create and publish a new page";
include('connpress/templates/head.php');
echo ('<title>'.$title.'</title>
<meta name="description" content="'.$metadescription.'" />');?>
<script type="text/javascript" src="connpress/rtl/nicEdit.js"></script>
<script type="text/javascript">
//<![CDATA[
bkLib.onDomLoaded(function() {
new nicEditor({fullPanel : true, iconsPath : 'connpress/rtl/nicEditorIcons.gif', maxHeight : 300
}).panelInstance('area1');
});
//]]>
</script>
<?php 
include('connpress/templates/meta-v2.php');
echo ('<div id="content-wide">');
include('connpress/page-creator.php'); 
?>
<h2><a href="<?php echo $url; ?>.php"><?php echo $title; ?></a></h2>
<form method="post" action="#">
<input type="hidden" name="url" value="blank">
<input type="hidden" name="commentform" value="yes">
<input type="hidden" name="pagedate" value="<?php echo date('D, M d Y, g:ia T'); ?>">
<input type="hidden" name="authorname" value="Connga">
<input type="hidden" name="authorurl" value="index.php">
<p>Page Title: <input style="width:250px;" type="text" name="title" value=""><br/>
Summary: <input style="width:450px;" type="text" name="metadescription" value=""></p>
<textarea style="width:768px; height:290px;" name="content" id="area1"></textarea>
<input type="submit" value="Publish">
</form>
<?php
include('connpress/templates/footer.php'); ?>
